<?php

namespace BaseBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * ArticleEvaluateService
 *
 * @ORM\Table(name="article_evaluate")
 * @ORM\Entity(repositoryClass="BaseBundle\Repository\ArticleEvaluateRepository")
 */
class ArticleEvaluate
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string
     * @ORM\Column(name="content", type="text", nullable=true, options={"comment":"文章内容"})
     */
    private $content;

    /**
     * @var string
     * @ORM\Column(name="show_image", type="text", options={"comment":"展示图"})
     */
    private $images;

    /**
     * @var int
     * @ORM\Column(name="like_num", type="smallint", options={"comment":"点赞次数","default":"0"})
     */
    private $likeNum;

    /**
     * @var \DateTime
     * @ORM\Column(name="created_at", type="datetime", nullable=true, options={"comment":"创建时间"} )
     */
    private $createdAt;

    /**
     * Get id
     *
     * @return integer
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set content
     *
     * @param string $content
     *
     * @return ArticleEvaluate
     */
    public function setContent($content)
    {
        $this->content = $content;

        return $this;
    }

    /**
     * Get content
     *
     * @return string
     */
    public function getContent()
    {
        return $this->content;
    }

    /**
     * Set images
     *
     * @param string $images
     *
     * @return ArticleEvaluate
     */
    public function setImages($images)
    {
        $this->images = $images;

        return $this;
    }

    /**
     * Get images
     *
     * @return string
     */
    public function getImages()
    {
        return $this->images;
    }

    /**
     * Set likeNum
     *
     * @param integer $likeNum
     *
     * @return ArticleEvaluate
     */
    public function setLikeNum($likeNum)
    {
        $this->likeNum = $likeNum;

        return $this;
    }

    /**
     * Get likeNum
     *
     * @return integer
     */
    public function getLikeNum()
    {
        return $this->likeNum;
    }

    /**
     * Set createdAt
     *
     * @param \DateTime $createdAt
     *
     * @return ArticleEvaluate
     */
    public function setCreatedAt($createdAt)
    {
        $this->createdAt = $createdAt;

        return $this;
    }

    /**
     * Get createdAt
     *
     * @return \DateTime
     */
    public function getCreatedAt()
    {
        return $this->createdAt;
    }
}
